package extend.part1;

public class Main {
    public static void main(String[] args) {
        Print print = new Print();
        Teacher teacher = new Teacher();
        print.print(teacher);
        Student student = new Student();
        print.print(student);

        Print<HelloKitty> print1 = new Print<>();
        print1.print(new HelloKitty());

    }
}
